<!doctype html>
<html>
<head>
    <!--Setting-->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="apple-mobile-web-app-capable"  content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no,email=no">
    
    
    <!--Simple SEO-->


<meta name="robots" content=all />
<meta name="google" content=all />
<meta name="googlebot" content=all />
<meta name="verify" content=all />
    <!--Title-->

<title>MIAbon&#39;s blog</title>

<link rel="alternate" href="/atom.xml" title="MIAbon&#39;s blog" type="application/atom+xml">


<link rel="icon" href="/favicon.ico">

    
<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="/css/pages/post.css">
<link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/thirdParty/highlight/github.css">
<link rel="stylesheet" href="/css/pages/comments.css">

    <!--script-->



<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

<!--<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>-->


<script src="/js/thirdParty/gitment.browser.min.js"></script>
<script>
  var labels = "blog,gitment";
  labels = labels.split(",");
  var gitment = new Gitment({
    id: window.location.pathname,
    owner: "werewolf2101",
    repo: "werewolf2101.github.io",
    oauth: {
      client_id: "e5ca2331a06066428919",
      client_secret: "9008dae16c6d83dbb8e8b25cf373e3f825700788"
    },
    perPage: "20",
    labels: labels
  });
</script>

    
    
</head>

<body id="normal">
<!--[if lte IE 8]>
<style>
    html{ font-size: 1em }
</style>
<![endif]-->
<!--[if lte IE 9]>
<style>
    header{ top: 71px; position: absolute!important;}
    #container{padding-top: 151px!important;}
</style>
<div style="position:fixed;z-index:9999;left:0;top:0;width:100%;height:70px;background-color:#e0e0e0;color:#396CA5;border-bottom:1px solid #cecece;text-align:center;line-height:70px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis">你使用的浏览器版本过低，为了你更好的阅读体验，请更新浏览器的版本或者使用其他现代浏览器，比如Chrome、Firefox、Safari等。</div>
<![endif]-->

<div id="wrap">
    <header  style="position: absolute;" >
    <div id="site-meta">
        <a href="/" id="logo">
            <h1 class="title">MIAbon&#39;s blog</h1>
        </a>
        
    </div>
    <ul id="nav">
        
            <li><a href="/"><i class="fa fa-home"></i>首页</a></li>
        
            <li><a href="/atom.xml"><i class="fa fa-rss"></i>RSS</a></li>
        
        <li id="search"><a href="javascript:void(0)"><i class="fa fa-search"></i>搜索</a></li>
    </ul>
</header>

    <div id="container">
        
<ul id="sidebar">
    
    
    
    
<li class="widget widget-normal category">
    <h3 class="fa fa-th widget-title">分类</h3>
    <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Admin/"><i class="fa" aria-hidden="true">Admin</i></a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Docker/"><i class="fa" aria-hidden="true">Docker</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Lvs/"><i class="fa" aria-hidden="true">Lvs</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Web/"><i class="fa" aria-hidden="true">Web</i></a><span class="category-list-count">9</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/admin/"><i class="fa" aria-hidden="true">admin</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/aws/"><i class="fa" aria-hidden="true">aws</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/docker/"><i class="fa" aria-hidden="true">docker</i></a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/kernel/"><i class="fa" aria-hidden="true">kernel</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/kvm/"><i class="fa" aria-hidden="true">kvm</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/mongodb/"><i class="fa" aria-hidden="true">mongodb</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link current" href="/categories/nginx/"><i class="fa" aria-hidden="true">nginx</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/share/"><i class="fa" aria-hidden="true">share</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/zabbix/"><i class="fa" aria-hidden="true">zabbix</i></a><span class="category-list-count">1</span></li></ul>
</li>


    
    
<li class="widget widget-normal archive">
  <h3 class="fa fa-archive widget-title">归档</h3>
    <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/10/"><i class="fa" aria-hidden="true">十月 2017</i></a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/"><i class="fa" aria-hidden="true">九月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/"><i class="fa" aria-hidden="true">八月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/06/"><i class="fa" aria-hidden="true">六月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/05/"><i class="fa" aria-hidden="true">五月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/01/"><i class="fa" aria-hidden="true">一月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/12/"><i class="fa" aria-hidden="true">十二月 2016</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/11/"><i class="fa" aria-hidden="true">十一月 2016</i></a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/10/"><i class="fa" aria-hidden="true">十月 2016</i></a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/08/"><i class="fa" aria-hidden="true">八月 2016</i></a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/05/"><i class="fa" aria-hidden="true">五月 2016</i></a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/04/"><i class="fa" aria-hidden="true">四月 2016</i></a><span class="archive-list-count">8</span></li></ul>
</li>


    
    
<li class="widget widget-normal tags">
  <h3 class="fa fa-tags widget-title">标签云</h3>
  <div class="tagcloud-content">
    
      <a href="/tags/linux/" style="font-size: 0.2rem; color: #0a407c">linux</a> <a href="/tags/docker/" style="font-size: 0.17rem; color: #386da4">docker</a> <a href="/tags/kernel/" style="font-size: 0.14rem; color: #69c">kernel</a> <a href="/tags/swarm/" style="font-size: 0.14rem; color: #69c">swarm</a> <a href="/tags/firewalld/" style="font-size: 0.14rem; color: #69c">firewalld</a> <a href="/tags/aws/" style="font-size: 0.14rem; color: #69c">aws</a>
  </div>
</li>


    
    
<li class="widget widget-normal friends-link">
    <h3 class="fa fa-globe widget-title">友链</h3><br/>

    
        <a href="http://geekaholiclin.github.io" class="fa" target="_blank">ylion</a>

    

</li>

    
</ul>


        <div id="main">
    <article id="post">
        <div id="post-header">

            <h1 id="">
                
                NO Title!
                
            </h1>
            <div class="article-meta">
    
    
    <span class="categories-meta fa-wrap">
            <i class="fa fa-folder-open-o"></i>
        <span>null</span>
    </span>
    
    
    <span class="fa-wrap">
         <i class="fa fa-tags"></i>
        <span class="tags-meta">
            
            null
            
        </span>
    </span>
    
    
    <span class="fa-wrap">
        <i class="fa fa-clock-o"></i>
        <span class="date-meta ">2017/10/26</span>
    </span>
    
    
    <span class="fa-wrap">
            <i class="fa fa-thermometer-three-quarters"></i>
        <span class="hits hits-meta " data-leadcloud-title=""
              data-leadcloud-url="/2017/10/26/zabbix3.0安装/"><i class="fa fa-spinner fa-spin"></i></span>
    </span>
    
    
</div>

            
            
        </div>
        
        <div id="post-body">
            <h1 id="一、-环境介绍"><a href="#一、-环境介绍" class="headerlink" title="一、 环境介绍"></a>一、 环境介绍</h1><ul>
<li><strong>服务端</strong><code>server</code>：192.168.99.60</li>
<li><strong>数据库</strong><code>server</code>:192.168.99.60</li>
<li><strong>Web-GUI</strong><code>server</code>:192.168.99.60</li>
<li><strong>客户端</strong><code>agent1</code>: 192.168.99.70</li>
<li>程序包<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div></pre></td><td class="code"><pre><div class="line">[root@server ~]# cp x86_64/*-3.0.2*  ./</div><div class="line">anaconda-ks.cfg                             zabbix-proxy-mysql-3.0.2-1.el7.x86_64.rpm    zabbix-server-pgsql-3.0.2-1.el7.x86_64.rpm</div><div class="line">x86_64                                      zabbix-proxy-pgsql-3.0.2-1.el7.x86_64.rpm    zabbix-web-3.0.2-1.el7.noarch.rpm</div><div class="line">zabbix-agent-3.0.2-1.el7.x86_64.rpm         zabbix-proxy-sqlite3-3.0.2-1.el7.x86_64.rpm  zabbix-web-japanese-3.0.2-1.el7.noarch.rpm</div><div class="line">zabbix-get-3.0.2-1.el7.x86_64.rpm           zabbix-sender-3.0.2-1.el7.x86_64.rpm         zabbix-web-mysql-3.0.2-1.el7.noarch.rpm</div><div class="line">zabbix-java-gateway-3.0.2-1.el7.x86_64.rpm  zabbix-server-mysql-3.0.2-1.el7.x86_64.rpm   zabbix-web-pgsql-3.0.2-1.el7.noarch.rpm</div><div class="line">[root@server ~]#</div></pre></td></tr></table></figure>
</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div></pre></td><td class="code"><pre><div class="line">[root@server ~]# cat /etc/hosts</div><div class="line">127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4</div><div class="line">::1         localhost localhost.localdomain localhost6 localhost6.localdomain6</div><div class="line">192.168.99.60 www.server.com server</div><div class="line">192.168.99.70 www.agent1.com agent1</div><div class="line">192.168.99.80 www.agent2.com agent2</div><div class="line">192.168.99.90 www.proxy.com proxy</div></pre></td></tr></table></figure>
<ul>
<li><strong>时间同步</strong><blockquote>
<p>时间同步必须做，否则客户端和服务端时间不一致会导致采集不到数据</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line"># cat /etc/ntp/step-tickers </div><div class="line"># List of NTP servers used by the ntpdate service.</div><div class="line">0.centos.pool.ntp.org</div><div class="line"># ntpdate 0.centos.pool.ntp.org</div></pre></td></tr></table></figure>
</blockquote>
</li>
</ul>
<h1 id="安装服务端"><a href="#安装服务端" class="headerlink" title="安装服务端"></a>安装服务端</h1><h2 id="1-zabbix数据库安装与配置"><a href="#1-zabbix数据库安装与配置" class="headerlink" title="1.zabbix数据库安装与配置"></a>1.zabbix数据库安装与配置</h2><blockquote>
<p>zabbix依赖数据库，为解决依赖关系，我们需要创建出一个zabbix数据库，并授权服务端能够登陆<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div></pre></td><td class="code"><pre><div class="line"># a.数据库配置</div><div class="line">[root@server ~]# cat /etc/my.cnf</div><div class="line">[mysqld]</div><div class="line">datadir=/var/lib/mysql</div><div class="line">socket=/var/lib/mysql/mysql.sock</div><div class="line">[mysqld_safe]</div><div class="line">log-error=/var/log/mariadb/mariadb.log</div><div class="line">pid-file=/var/run/mariadb/mariadb.pid</div><div class="line">skip_name_resolve = ON</div><div class="line">innodb_file_per_table = ON</div><div class="line">#启动服务并授权（一般而言我们只要授权一个账号就行了）</div><div class="line">[root@server ~]# systemctl  start mariadb.service</div><div class="line">[root@server ~]# mysql</div><div class="line">MariaDB [(none)]&gt; create database zabbix charset &apos;utf8&apos;;</div><div class="line">MariaDB [(none)]&gt; grant all on zabbix.* to zbxuser@&apos;127.0.0.1&apos; identified by &apos;zbxpass&apos;;</div><div class="line">MariaDB [(none)]&gt; grant all on zabbix.* to zbxuser@&apos;192.168.99.%&apos; identified by &apos;zbxpass&apos;;</div><div class="line">MariaDB [(none)]&gt; grant all on zabbix.* to zbxuser@&apos;localhost&apos; identified by &apos;zbxpass&apos;;</div><div class="line">MariaDB [(none)]&gt; flush privileges;</div><div class="line"># 验证是否授权成功</div><div class="line">[root@server ~]# mysql -uzbxuser -h192.168.99.60 -pzbxpass</div><div class="line">[root@server ~]# mysql -uzbxuser -h127.0.0.1 -pzbxpass</div><div class="line">[root@server ~]# mysql -uzbxuser -hlocalhost -pzbxpass</div></pre></td></tr></table></figure></p>
</blockquote>
<h2 id="2-zabbix服务端安装与配置"><a href="#2-zabbix服务端安装与配置" class="headerlink" title="2.zabbix服务端安装与配置"></a>2.zabbix服务端安装与配置</h2><ul>
<li>服务程序包：zabbix-server-mysqql</li>
<li>用户到客户端上获取数据的程序包：zabbix-get<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div><div class="line">29</div><div class="line">30</div><div class="line">31</div><div class="line">32</div><div class="line">33</div><div class="line">34</div></pre></td><td class="code"><pre><div class="line"># 1.安装服务程序（需要配置好epel源）</div><div class="line">[root@server ~]# yum install ./zabbix-server-mysql-3.0.2-1.el7.x86_64.rpm  zabbix-get-3.0.2-1.el7.x86_64.rpm</div><div class="line"># 2.导入数据库脚本，以生成数据库环境</div><div class="line">[root@server zabbix-server-mysql-3.0.2]# gzip -d /usr/share/doc/zabbix-server-mysql-3.0.2/create.sql.gz</div><div class="line">[root@server zabbix-server-mysql-3.0.2]# mysql -uzbxuser -h127.0.0.1 -pzbxpass zabbix &lt; create.sql </div><div class="line"># c.验证是否成功导入</div><div class="line"># mysql -uzbxuser -h127.0.0.1 -pzbxpass zabbix </div><div class="line">&gt;show tables</div><div class="line"># 3.zabbix server配置启动</div><div class="line">[root@server ~]# vim /etc/zabbix/zabbix_server.conf </div><div class="line">[root@server ~]# grep -v ^# /etc/zabbix/zabbix_server.conf</div><div class="line">ListenPort=10051                      监听端口（默认）</div><div class="line">SourceIP=192.168.99.60</div><div class="line">LogFile=/var/log/zabbix/zabbix_server.log</div><div class="line">LogFileSize=0</div><div class="line">PidFile=/var/run/zabbix/zabbix_server.pid</div><div class="line">DBHost=127.0.0.1                      数据库地址</div><div class="line">DBName=zabbix                         数据库名</div><div class="line">DBUser=zbxuser                        数据库用户名</div><div class="line">DBPassword=zbxpass                    数据库密码  </div><div class="line">DBSocket=/var/lib/mysql/mysql.sock</div><div class="line">SNMPTrapperFile=/var/log/snmptrap/snmptrap.log</div><div class="line">Timeout=4</div><div class="line">AlertScriptsPath=/usr/lib/zabbix/alertscripts</div><div class="line">ExternalScripts=/usr/lib/zabbix/externalscripts</div><div class="line">LogSlowQueries=3000</div><div class="line">#启动服务</div><div class="line">[root@server ~]# systemctl  start zabbix-server.service </div><div class="line">[root@server ~]# ss -tnl|grep 10051</div><div class="line">LISTEN     0      128          *:10051                    *:*                  </div><div class="line">LISTEN     0      128         :::10051                   :::*</div></pre></td></tr></table></figure>
</li>
</ul>
<h2 id="3-zabbix-web配置"><a href="#3-zabbix-web配置" class="headerlink" title="3.zabbix web配置"></a>3.zabbix web配置</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div></pre></td><td class="code"><pre><div class="line">1.解决依赖关系</div><div class="line">[root@server ~]# yum install -y httpd php php-mysql php-mbstring php-gd php-bcmath php-ldap php-xml</div><div class="line">2.安装web GUI </div><div class="line">[root@server ~]# yum install ./zabbix-web-3.0.2-1.el7.noarch.rpm  zabbix-web-mysql-3.0.2-1.el7.noarch.rpm </div><div class="line">3.配置php时区参数</div><div class="line">[root@server ~]# vim /etc/httpd/conf.d/zabbix.conf </div><div class="line">Alias /zabbix /usr/share/zabbix</div><div class="line">&lt;Directory &quot;/usr/share/zabbix&quot;&gt;</div><div class="line">    Options FollowSymLinks</div><div class="line">    AllowOverride None</div><div class="line">    Require all granted</div><div class="line">    &lt;IfModule mod_php5.c&gt;</div><div class="line">        php_value max_execution_time 300</div><div class="line">        php_value memory_limit 128M</div><div class="line">        php_value post_max_size 16M</div><div class="line">        php_value upload_max_filesize 2M</div><div class="line">        php_value max_input_time 300</div><div class="line">        php_value always_populate_raw_post_data -1</div><div class="line">        php_value date.timezone Asia/Shanghai    #此处修改</div><div class="line">    &lt;/IfModule&gt;</div><div class="line">&lt;/Directory&gt;</div><div class="line">4.启动web服务</div><div class="line">[root@server ~]# systemctl  start httpd</div><div class="line">5.访问web</div><div class="line">http://192.168.99.60/zabbix/</div></pre></td></tr></table></figure>
<h1 id="安装agent端"><a href="#安装agent端" class="headerlink" title="安装agent端"></a>安装agent端</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">[root@agent1 ~]# ls </div><div class="line">anaconda-ks.cfg  zabbix-agent-3.0.2-1.el7.x86_64.rpm  zabbix-sender-3.0.2-1.el7.x86_64.rpm</div></pre></td></tr></table></figure>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">[root@agent1 ~]# yum install -y zabbix-agent-3.0.2-1.el7.x86_64.rpm  zabbix-sender-3.0.2-1.el7.x86_64.rpm</div></pre></td></tr></table></figure>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div></pre></td><td class="code"><pre><div class="line">[root@agent1 ~]# vim /etc/zabbix/zabbix_agentd.conf</div><div class="line">[root@agent1 ~]# grep -v ^# /etc/zabbix/zabbix_agentd.conf</div><div class="line">PidFile=/var/run/zabbix/zabbix_agentd.pid</div><div class="line">LogFile=/var/log/zabbix/zabbix_agentd.log</div><div class="line">LogFileSize=0</div><div class="line">Server=192.168.99.60   # 指明服务端</div><div class="line">ListenPort=10050</div><div class="line">ServerActive=127.0.0.1</div><div class="line">Hostname=agent1</div><div class="line">Include=/etc/zabbix/zabbix_agentd.d/</div></pre></td></tr></table></figure>
<ul>
<li><strong>启动服务</strong><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">[root@agent1 ~]# systemctl  start zabbix-agent.service</div><div class="line">[root@agent1 ~]# ss -tnl |grep 10050</div><div class="line">LISTEN     0      128          *:10050                    *:*                  </div><div class="line">LISTEN     0      128         :::10050                   :::*</div></pre></td></tr></table></figure>
</li>
</ul>
<h2 id="接下篇2-zabbix3-0配置"><a href="#接下篇2-zabbix3-0配置" class="headerlink" title="接下篇2.zabbix3.0配置"></a>接下篇2.zabbix3.0配置</h2>
        </div>
        <div id="post-footer">
            <div class="avatar" >
                <img src="/img/author.jpg" alt="avatar"/>
                
                <a href="javascript:void(0)" class="high-song">high起来 &#128541;</a>
                
                
                <a href="javascript:void(0)" class="donate fa">点击打赏 &#128536;</a>
                
            </div>
            <ul class="author-profile-section">
                <li>
                  
                  作者:
                  
                    
                    <a href="/about.html">MIAbon</a>
                </li>
                
                <li>发表日期: <span>2017-10-26  05:18:27</span></li>
                
                <li>最后编辑日期: <span>2017-02-04  10:07:08</span></li>
                
                <li class="post-category">
                    文章分类:
                    
                </li>
                <li class="post-tags">
                    文章标签:
                    
                </li>
                
                <li> 版权声明: <a href="https://creativecommons.org/licenses/by-nc-nd/3.0/" target="_blank">
知识共享署名-非商业性使用-禁止演绎 3.0 未本地化版本许可协议（CC BY-NC-ND 3.0）
</a></li>
                
            </ul>
            <div id="donate-wrap">
                
                
                
                <img src="http://www.geasslinks.com/img/alipay.jpg" alt="支付宝付款" class="donate-img">
                
                <img src="http://www.geasslinks.com/img/wechat.png" alt="微信付款" class="donate-img">
                
                
            </div>
        </div>
    </article>
    <div class="article-nav">
        
        <a href="/2017/10/26/zabbix3.0配置/" class="pre-post fa fa-caret-left"></a>
        
        
        <a href="/2017/09/01/Docker_Remore_API的使用范例/" class="next-post fa">docker_remote_API</a>
        
    </div>
    
    <div id="comments">
        

<script>
  gitment.render(document.getElementById("comments"));
</script>



    </div>
    
</div>


    </div>
    <footer id="footer">
    
    <div class="social">
        
        <a href="https://www.example1.com" class="fa fa-free-code-camp" target="_blank" title="freecodecamp"></a>
        
        <a href="https://github.com/werewolf2101" class="fa fa-github" target="_blank" title="Follow me~"></a>
        
    </div>
    
    <div>
        
        <a href="/" class="copyright-links">MIAbon</a>&copy;2015 - 2017.All Rights
        Reserved.
    </div>
    <p>Powered by <a href="https://hexo.io" class="copyright-links" target="_blank">Hexo</a> | Theme by <a
                href="https://github.com/GeekaholicLin" class="copyright-links" target="_blank">GeekaholicLin</a>
    </p>
    
    
    <p>
        <span id="busuanzi_container_site_uv" class="fa fa-bar-chart">
        欢迎第<span id="busuanzi_value_site_uv"><i class="fa fa-spinner fa-spin"></i></span>位小伙伴~
        </span>
    </p>
    
</footer>

</div>
    <ul id="tools">
    <li class="totop-btn fa fa-angle-up"></li>
    <li class="exchange-btn fa fa-exchange"></li>
  
    <li class="toc-btn fa fa-list-ul"></li>
    
    

    
    <li class="comment-btn fa fa-comments-o">
        <a href="#comments" title="comments"></a>
    </li>
    
</ul>
<p id="process"></p>
<div id="search-overlay">
    <div class="search-area-wrap">
        <div id="search-area">
            <div class="input-wrap focus">
                <i class="fa fa-search" aria-hidden="true"></i>
                <input id="search-input" autofocus autocomplete="off" type="text"
                       placeholder="search this website..."/>
            </div>
            <ul id="search-result">
                <li class="load-first"><i class="fa fa-spinner fa-pulse"></i></li>
            </ul>
        </div>
    </div>
</div>

    <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#一、-环境介绍"><span class="toc-number">1.</span> <span class="toc-text">一、 环境介绍</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#安装服务端"><span class="toc-number">2.</span> <span class="toc-text">安装服务端</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#1-zabbix数据库安装与配置"><span class="toc-number">2.1.</span> <span class="toc-text">1.zabbix数据库安装与配置</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#2-zabbix服务端安装与配置"><span class="toc-number">2.2.</span> <span class="toc-text">2.zabbix服务端安装与配置</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#3-zabbix-web配置"><span class="toc-number">2.3.</span> <span class="toc-text">3.zabbix web配置</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#安装agent端"><span class="toc-number">3.</span> <span class="toc-text">安装agent端</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#接下篇2-zabbix3-0配置"><span class="toc-number">3.1.</span> <span class="toc-text">接下篇2.zabbix3.0配置</span></a></li></ol></li></ol>


    <script src="/js/highsong.js"></script>



<script src="/js/search.js"></script>
<script type="text/javascript">
    //theme config datas
    var copyrightObj = {};
    copyrightObj.enable = 'true';
    copyrightObj.triggerCopyLength = '200';
    copyrightObj.appendText = '商业转载请联系作者获得授权,非商业转载请注明出处 © example';
    var leancloudObj = {};
    leancloudObj.enable = 'true';
    leancloudObj.className = 'BlogCounter';
    leancloudObj.limits = '10';
</script>
<script type="text/javascript">
    var search = {};
    var search_path = "search.xml";
    if (!search_path) {
        search_path = "search.xml";
    }
    search.path = "/" + search_path;
    search.func =  _ajax.init();
</script>
<script src="/js/app.js"></script>


</body>
</html>